The base class of any Diamant ORM DAO that encapsulates a parameterized program hosted and executed by SQL Server data stores.

Statements that activates the parameterized program are written in traditional ADO.NET code.

The following tables list the members exposed by the CodeFirstSqlProgramDao<TProgramResult, TProgramArguments> type.

Name Description
Public property Carbonite Gets the carbonite controller that hosts the current DAO and offers data store context to it. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Top
Name Description
Public method Equals (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType (Overloaded) Gets the Type of the current instance. (inherited from Object).
Public method Initialize Initializes the current DAO with the specified host carbonite controller as its data store context provider. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method OnBuildResult Handles the request to create a TProgramResult based on the program result set and output parameters.

This method is always called after OnPrebuildResult(TDataCommand,TDataReader). (inherited from DiamantDataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TDataCommand, TDataReader>).
Protected method OnConfigureCommand Handles the request to configure program data command suitable for the underlying relational data store. (inherited from DiamantDataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TDataCommand, TDataReader>).
Protected method OnInitialize Handles the request to initialize the current DAO. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected method OnPostbuildResult Handles the request to prebuild the program result by performing any prebuild action.

This method is always called after OnPostconfigureCommand(TDataCommand). (inherited from DiamantDataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TDataCommand, TDataReader>).
Protected method OnPostconfigureCommand Handles the request to postconfigure a data command suitable for the underlying relational data store.

This method is always called after OnConfigureCommand(TDataCommand,TProgramArguments). (inherited from DiamantDataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TDataCommand, TDataReader>).
Protected method OnPrebuildResult Handles the request to prebuild the program result, potentially by altering the command output parameter naming convention or performing any other prebuild action.

This method is always called after OnPostconfigureCommand(TDataCommand). (inherited from DiamantDataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TDataCommand, TDataReader>).
Protected method OnPreconfigureCommand Handles the request to preconfigure a data command suitable for the underlying relational data store.

This method is always called before OnConfigureCommand(TDataCommand,TProgramArguments). (inherited from DiamantDataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TDataCommand, TDataReader>).
Protected method OnRunProgram By obtaining a data command via OnConfigureCommand(TDataCommand,TProgramArguments) and then running that command, this inversion control method handles the request to run the program into the underlying relational data store. (inherited from DiamantDataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TDataCommand, TDataReader>).
Public method Static ReferenceEquals Determines whether the specified Object instances are the same instance. (inherited from Object).
Public method RunProgram Routes a program run request to the underlying data store. (inherited from DataContextProgramDao<TProgramResult, TProgramArguments, TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Name Description
Public extension method FromNullable Converts object values to nullable relational data store values. (Defined by Object_ToNullable).
Public extension method GetAttribute Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttribute<TAtribute> (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes<TAtribute> (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method ToNullable<T> Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable).
Top